TargetMacOS Constant

Used to indicate that you are compiling code for any Macintosh OS, "classic" or Mac OS X in either the Mach-O or PEF formats.

Notes

result=TargetMacOS

Part

Type

Description

result

Boolean

Returns True if you are compiling code for any Mac OS, either as a standalone application or within REALbasic.



TargetMacOSClassic, and TargetCarbon are mutually exclusive subsets of TargetMacOS. TargetMacOSClassic is True only if PPC code is running on a PowerPC under a 'classic' Mac OS.


See Also

DebugBuild, RBVersion, RBVersionString, TargetBigEndian, TargetCarbon, TargetHasGUI, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetMacOSClassic, TargetMachO, TargetWin32, TargetX86 constants;#If statement.